/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

export interface VoiceData {
  id:number,
  name: string,
  sex: string,
  modelDir: string,
  describe: string,
  modelName: string,
  lexicon: string,
  dictDir: string,
  ruleFsts: string,
}

export let voiceModels = [
  {
    id:1,
    name: '女',
    sex: 'women',
    modelDir: 'vits-melo-tts-zh_en',
    describe: '标准普通话',
    modelName: 'model.onnx',
    lexicon: 'lexicon.txt',
    dictDir: 'dict',
    ruleFsts: 'date.fst,phone.fst,number.fst',
  },
  {
    id:2,
    name: '男',
    sex: 'man',
    modelDir: 'vits-zh-hf-fanchen-wnj',
    describe: '标准普通话',
    modelName: 'vits-zh-hf-fanchen-wnj.onnx',
    lexicon: 'lexicon.txt',
    dictDir: 'dict',
    ruleFsts: 'date.fst,phone.fst,new_heteronym.fst,number.fst',
  },
  {
    id:3,
    name: '女1',
    sex: 'women',
    modelDir: 'vits-zh-hf-fanchen-C',
    describe: '标准普通话',
    modelName: 'vits-zh-hf-fanchen-C.onnx',
    lexicon: 'lexicon.txt',
    dictDir: 'dict',
    ruleFsts: 'date.fst,new_heteronym.fst,phone.fst,number.fst',
  },
  {
    id:4,
    name: '女2',
    sex: 'women',
    modelDir: 'sherpa-onnx-vits-zh-ll',
    describe: '标准普通话',
    modelName: 'model.onnx',
    lexicon: 'lexicon.txt',
    dictDir: 'dict',
    ruleFsts: 'date.fst,new_heteronym.fst,phone.fst,number.fst',
  },
  {
    id:5,
    name: '女3',
    sex: 'women',
    modelDir: 'vits-zh-hf-keqing',
    describe: '标准普通话',
    modelName: 'keqing.onnx',
    lexicon: 'lexicon.txt',
    dictDir: 'dict',
    ruleFsts: 'date.fst,new_heteronym.fst,phone.fst,number.fst',
  },
  {
    id:6,
    name: '女4',
    sex: 'women',
    modelDir: 'vits-zh-hf-theresa',
    describe: '标准普通话',
    modelName: 'theresa.onnx',
    lexicon: 'lexicon.txt',
    dictDir: 'dict',
    ruleFsts: 'date.fst,new_heteronym.fst,phone.fst,number.fst',
  },
]